home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / ZanyAttack.swf / scripts / DefineButton2_153 / BUTTONCONDACTION on(keyPress Space).as < prev   
Encoding:
Text File  |  2006-06-13  |  270 b   |  10 lines

  1. on(keyPress "<Space>"){
  2.    if(eval("/:laserWait") == "0")
  3.    {
  4.       duplicateMovieClip("/baseLaser","laser","1" + 16384);
  5.       setProperty("/laser", _X, getProperty("/player", _X));
  6.       setProperty("/laser", _Y, "355");
  7.       set("/:laserWait","1");
  8.    }
  9. }
  10.